package com.um.jdy.common.charge.service;

import com.um.jdy.common.charge.entity.dto.PlaceRange;
import com.um.jdy.common.charge.entity.po.OrderPlace;
import com.um.jdy.common.charge.entity.po.OrderPlaceTime;
import com.um.springboot.starter.orm.service.BaseEntityService;
import com.um.jdy.common.charge.entity.po.EvOrder;

import java.util.List;

/**
 * 服务接口：汽车订单扩展表
 */
public interface EvOrderService extends BaseEntityService<EvOrder> {

    /**
     * 保存订单占位费
     * @param orderPlace
     * @param evOrder
     * @return
     */
    Integer savePlaceFee(OrderPlace orderPlace, EvOrder evOrder, boolean saveRow);

    /**
     * 保存订单占位费
     * @param timeList
     * @param placeRange
     * @return
     */
    Integer savePlaceFeeByRange(List<OrderPlaceTime> timeList, PlaceRange placeRange, boolean saveRow);
}
